Light and shadow tracking